call mvn clean package

mkdir "%ProgramFiles%\polygon\bin"
mkdir "%ProgramFiles%\polygon\compile"
mkdir "%ProgramFiles%\polygon\include"

copy target\polygon-cli-1.0-dependencies.jar "%ProgramFiles%\polygon\bin\polygon-cli-1.0.jar"
copy target\classes\pgn.bat "%ProgramFiles%\polygon\bin\pgn.bat"
copy target\classes\problem.bat "%ProgramFiles%\polygon\bin\problem.bat"
copy target\classes\contest.bat "%ProgramFiles%\polygon\bin\contest.bat"
copy target\classes\archive-contests.bat "%ProgramFiles%\polygon\bin\archive-contests.bat"

copy target\classes\compile\compile-cpp.bat "%ProgramFiles%\polygon\compile"
copy target\classes\compile\compile-pas.bat "%ProgramFiles%\polygon\compile"
copy target\classes\compile\compile-dpr.bat "%ProgramFiles%\polygon\compile"
copy target\classes\compile\include "%ProgramFiles%\polygon\include"

echo *******************************************************************
echo Please, add "%ProgramFiles%\polygon\bin" into PATH

